package com.frank.dao;

import com.frank.model.Job;
import com.frank.model.JobCriteria;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface JobMapper {
    long countByExample(JobCriteria example);

    int deleteByExample(JobCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(Job record);

    int insertSelective(Job record);

    List<Job> selectByExampleWithRowbounds(JobCriteria example, RowBounds rowBounds);

    List<Job> selectByExample(JobCriteria example);

    Job selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Job record, @Param("example") JobCriteria example);

    int updateByExample(@Param("record") Job record, @Param("example") JobCriteria example);

    int updateByPrimaryKeySelective(Job record);

    int updateByPrimaryKey(Job record);

    int selectJobListCount();

    List<Map> selectJobList(Map map, RowBounds rowBounds);
}